package net.joey.httpclient.youku.utils;

import java.util.HashMap;
import java.util.Map;
import java.util.regex.Pattern;

public class Constants {

	public static Map<Pattern,String> videoUrlPatternMap = new HashMap<Pattern,String>();
	static{
		videoUrlPatternMap.put(Pattern.compile("^(http://)?[^/]*.youkucom/",Pattern.CASE_INSENSITIVE), "videoAnalyServiceYoukuImpl");
		videoUrlPatternMap.put(Pattern.compile("^(http://)?[^/]*.ku6.com/",Pattern.CASE_INSENSITIVE), "videoAnalyServiceKu6Impl");
		videoUrlPatternMap.put(Pattern.compile("^(http://)?[^/]*.tudou.com/",Pattern.CASE_INSENSITIVE), "videoAnalyServiceTudouImpl");
	}
}
